/* Class VehicleGui
 * 
 * 
 */
package disasterGameProj;

import java.awt.Graphics;
import java.awt.image.BufferedImage;

import javax.swing.JComponent;

public class VehicleGui extends JComponent
{
	public BufferedImage[][] mapImageArray;
	
	VehicleGui()
	{
		mapImageArray = new BufferedImage[25][15];
	}
	
    public void paint(Graphics g) 
    {	
    	for( int x = 0; x < 25; x++ )
    	{
    		for( int y = 0; y < 15; y++ )
    		{
    			try
    			{
    				g.drawImage( mapImageArray[x][y], (x * 48), (y * 48), null );
    			}
    			catch( NullPointerException e)
    			{}
    		}
    	}
    }
}